﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Truron.Purchase.Utility
{
    /// <summary>
    /// 状态
    /// </summary>
    public enum Status
    {
        /// <summary>
        /// 正常
        /// </summary>
        normal = 0,
        /// <summary>
        /// 删除
        /// </summary>
        delete = 1,
        /// <summary>
        /// 禁用
        /// </summary>
        disable = 2
    }
    /// <summary>
    /// 委外任务状态
    /// </summary>
    public enum OuterRequestStatus
    {
        /// <summary>
        /// 等待业务审批
        /// </summary>
        waitapprove=0,
        /// <summary>
        /// 审批通过
        /// </summary>
        agree=1,
        /// <summary>
        /// 审批不通过
        /// </summary>
        reject=2
    }
    /// <summary>
    /// 委外结算单元状态
    /// </summary>
    public enum OuterRequestUnitStatus
    {
        /// <summary>
        /// 审批不通过
        /// </summary>
        reject=-2,
        /// <summary>
        /// 等待审批
        /// </summary>
        waitapprove=-1,
        /// <summary>
        /// 等待处理
        /// </summary>
        waitdeal=0,
        /// <summary>
        /// 处理中
        /// </summary>
        deal=1,
        /// <summary>
        /// 数量发完了，相当于已完成
        /// </summary>
        finish=2,
        ///// <summary>
        ///// 关联已有委外
        ///// </summary>
        //relateouternote=3
    }
    public enum OuterNoteStatus
    {
        /// <summary>
        /// 尚未创建
        /// </summary>
        waitCreate=-1,
        /// <summary>
        /// 审核中
        /// </summary>
        waitSubmit=0,
        /// <summary>
        /// 不用
        /// </summary>
        purchaseManagerAudit=1,
        /// <summary>
        /// 不用
        /// </summary>
        managerAudit = 2,
        /// <summary>
        /// 审批通过，进入开票&付款阶段，开完票付完款以后才能关闭
        /// </summary>
        finish=3,
        /// <summary>
        /// 关闭
        /// </summary>
        close=4
    }
}
